<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE HTML>
<html>
<head>
  <title>首页</title>
  <style type="text/css">
    a {
      text-decoration: none;
      color: black;
      font-size: 18px;
    }
    h3 {
      width: 180px;
      height: 38px;
      margin: 100px auto;
      text-align: center;
      line-height: 38px;
      background: deepskyblue;
      border-radius: 4px;
    }
  </style>


</head>
<body>

<h3>
  <a href="${pageContext.request.contextPath}/allBook">点击进入列表页</a><br><br>
</h3>

  <form action="${pageContext.request.contextPath}/login" method="post">
    帐号：<input type="text" name="username" required><br>
    密码：<input type="password" name="password" required><br>
    <input type="submit" value="登录">
    <input type="reset" value="重置">
    <input type="button" onclick="window.location.href=('${pageContext.request.contextPath}/register')"  value="注册">
    <input type="button" onclick="window.location.href=('${pageContext.request.contextPath}/forget')"  value="找回密码">
  </form>

</body>
</html>